# # a quick and dirty configuration file # # this defines 3 users, and demonstrates a few of the configuration # options. # # look at 'sample.conf' to see all configuration elements possible #### # First, a few basic proxy options # # #set certfile ezb.pem #ssl-listen 6660 listen 6667 #listen 6667,45000 set log-file ezbounce.log set log-dir logs/ set user-file ezb.user set max-sockets 256 #set motd-file sample.motd # use this if you want to listen for connection on a different vhost #set listen-vhost my.vhost.com ####### # ban lists # # now lets define a ban list, to keep some unwanted ppl out # deny { from *.aol.com no AOLers on MY proxy!! from *.baddomain.com you suck. go away from *.blahblah.com from *.eleet.vhost.com from *.ou.edu repeated abuse problems } ## # some vhosts that we can use vhosts { eleet.vhost.com super.eleet.vhost.com your.mom.likes.to.have.sex.with.your.dad.com } ## you can also do this: # vhosts { # all # } # (this will let you use any vhost on the box) ############################################# # NOW.... users # # Define a basic user steve # allow him from anywhere, and let him connect anywhere # let him use dcc proxying, fake idents, and the detach # command # user steve { allow { from * to * } # actually, we don't want him connecting to dalnet deny { to *.dal.net DALnet sucks :) } set password blahblah set enable-incoming-dcc-proxying 1 set enable-outgoing-dcc-proxying 1 set enable-detach-command 1 set enable-auto-detach 1 set enable-vhost-command 1 set enable-fake-idents 1 } # # define a user murat with admin priviledges and a few other # things user murat { set password blah allow { from 127.0.0.1 from 192.168.1.1 to * } # this is how you define an admin!!: set is-admin 1 set enable-detach-command 1 set enable-private-logging 1 set enable-public-logging 1 set default-log-options apcs set enable-incoming-dcc-proxying 1 set enable-outgoing-dcc-proxying 1 set enable-fake-idents 1 # he can use any vhost he wants vhosts { all } } # one more user # we'll restrict his options a bit user habib { set password blahblah allow { 4 from * to irc.* on 6667 } deny { to *.undernet.org } set enable-fake-idents 0 set enable-detach-command 1 set enable-incoming-dcc-proxying 0 set enable-outgoing-dcc-proxying 0 set enable-vhost-command 0 }